from django.contrib import admin

from .models import Stack, Fund, ConvBond


# Register your models here.
class StackAdmin(admin.ModelAdmin):
    list_display = (
        's_id', 's_hcode', 's_acode', 's_name', 's_flag_refresh', 's_createtime', 's_updatetime', 's_20mean', 's_flag')


class ConvBondAdmin(admin.ModelAdmin):
    list_display = ('cb_id', 'cb_code', 'cb_name', 'cb_flag_refresh', 'cb_createtime', 'cb_createtime', 'cb_flag')


class FundAdmin(admin.ModelAdmin):
    list_display = ('f_id', 'f_code', 'f_name', 'f_flag_refresh', 'f_createtime', 'f_updatetime', 'f_type', 'f_flag')


admin.site.register(Stack, StackAdmin)
admin.site.register(Fund, FundAdmin)
admin.site.register(ConvBond, ConvBondAdmin)
